<template>
  <div class="technical-ability">
    <div class="position">
      <span>当前位置&gt;<a href="javascript:void(0);">技术能力</a></span>
    </div>
    <div class="rad">
      <subtitle zhTitle="研发能力" :lineSpace="5"></subtitle>
      <div class="rad-profile">
        <div class="profile-one clearfix">
          <div class="left">
            <div class="p-subtitle"><span class="num">1</span><span class="sub-text">资质介绍</span></div>
            <p class="text">的资质介绍关于企业的资质介绍关于企业的资质介绍关于企介业的资质介绍关于企业的资质介绍关于企业的资质介绍关于企业的资质介绍关于企业的资质介绍关于企业的资质介绍关于企业的资质介绍资质介绍关于企业的资质介绍关于企业的资质介绍关于企业的资质介绍关于企业的资质介绍关于企业的资质介绍</p>
          </div>
          <div class="right">
            <img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1536733109307&di=751c3eacbe15949734ac0a8151b4f59c&imgtype=0&src=http%3A%2F%2Fpic35.photophoto.cn%2F20150601%2F0027011042461724_b.jpg" alt="" class="img-h">
            <img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1536733136695&di=a059680ea3542ecfca7d4cf4ef519c59&imgtype=0&src=http%3A%2F%2Fpic19.photophoto.cn%2F20110416%2F0016028031503929_b.jpg" alt="" class="img-w">
          </div>
        </div>
        <div class="profile-two">
          <div class="team-banner">
            <div class="p-subtitle"><span class="num">2</span><span class="sub-text">团队介绍</span></div>
          </div>
          <div class="team-box">
            <div class="box-item" v-for="(item, index) in 3">
              <div class="item-top">
                <img src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1536739623811&di=94d158edbf4b232afac375b540a04d02&imgtype=0&src=http%3A%2F%2Fimg1.ali213.net%2Fpicfile%2FNews%2F2014%2F12%2F17%2F584_2014121720013372.jpg" alt="">
              </div>
              <div class="item-bottom">
                <div class="name">艾迪森</div>
                <div class="desc">
                  <span>中国美术院院长</span><br>
                  <span>欧美时尚代言人、品牌代言人</span>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="testing">
      <subtitle zhTitle="检测能力" :lineSpace="5"></subtitle>
      <div class="testing-box">
        <div class="testing-nav">
          <span :class="{active: testingIndex == 1}" @click="testingIndex = 1">检测设备</span><span :class="{active: testingIndex == 2}" @click="testingIndex = 2">检测资质</span>
          <div class="goods-list">
            <div class="goods-item" v-for="(item,index) in testingList">
              <div class="item-top">
                <img :src="item.img" alt="">
              </div>
              <div class="item-middle">{{item.name}}</div>
              <p class="item-bottom">{{item.desc}}</p>
            </div>
          </div>
          <button class="next-page">下一页</button>
        </div>
      </div>
    </div>
    <div class="datum">
      <subtitle zhTitle="技术资料" :lineSpace="5"></subtitle>
      <div class="datum-list">
        <div class="datum-item">
          <div class="datum-title">仪器仪表行业技术资料</div>
          <p>最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
  import subtitle from 'COMPS/subtitle.vue'
  export default {
    name: 'technical-ability',
    components: {
      subtitle
    },
    data() {
      return {
        testingIndex: 1,
        testingList: [{
          img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1536741737468&di=fae54a3fbfaa21448bca989e7f4aeb13&imgtype=0&src=http%3A%2F%2F07imgmini.eastday.com%2Fmobile%2F20180906%2F20180906233356_abd4ad78672d8db59ba00e4ca30ae51b_4.jpeg',
          name: '电子万能试验机',
          desc: '一款便携式高精度气体分析仪，最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。'
        },{
          img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1536741737468&di=fae54a3fbfaa21448bca989e7f4aeb13&imgtype=0&src=http%3A%2F%2F07imgmini.eastday.com%2Fmobile%2F20180906%2F20180906233356_abd4ad78672d8db59ba00e4ca30ae51b_4.jpeg',
          name: '电子万能试验机',
          desc: '一款便携式高精度气体分析仪，最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。'
        },{
          img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1536741737468&di=fae54a3fbfaa21448bca989e7f4aeb13&imgtype=0&src=http%3A%2F%2F07imgmini.eastday.com%2Fmobile%2F20180906%2F20180906233356_abd4ad78672d8db59ba00e4ca30ae51b_4.jpeg',
          name: '电子万能试验机',
          desc: '一款便携式高精度气体分析仪，最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。'
        },{
          img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1536741737468&di=fae54a3fbfaa21448bca989e7f4aeb13&imgtype=0&src=http%3A%2F%2F07imgmini.eastday.com%2Fmobile%2F20180906%2F20180906233356_abd4ad78672d8db59ba00e4ca30ae51b_4.jpeg',
          name: '电子万能试验机',
          desc: '一款便携式高精度气体分析仪，最多可同时检测分析十八种气体浓度，模块化内置结构，很好的保护了传感器的性能，功能强大，操作简单。'
        }]
      }
    }
  }
</script>

<style lang="less">
  @import '~COMMON/common.less';

  .technical-ability {
    text-align: center;
    .subtitle {
      margin-bottom: 50px;
    }
    .rad {
      margin-top: 60px;
      margin-bottom: 20px;
      .rad-profile {
        .p-subtitle {
          margin-bottom: 25px;
          .num {
            .Round(30px);
            display: inline-block;
            vertical-align: middle;
            text-align: center;
            line-height: 30px;
            margin-right: 10px;
            color: #fff;
            background-color: #47beda;
          }
          .sub-text {
            vertical-align: middle;
            font-size: 18px;
            color: #47beda;
          }
        }
        .profile-one {
          margin-bottom: 50px;
          .left {
            float: left;
            width: 290px;
            margin-left: 60px;
            .text {
              text-align: left;
              line-height: 30px;
            }
          }
          .right {
            float: right;
            .img-h {
              width: 330px;
              height: 400px;
              margin-right: -5px;
            }
            .img-w {
              width: 425px;
              height: 330px;
            }
          }
        }
        .profile-two {
          .team-banner {
            width: 100%;
            height: 170px;
            background-image: url(~IMGS/rad-background.png);
            .p-subtitle {
              margin-bottom: 0px;
              padding-top: 40px;
              .num {
                background-color: #fff;
                color: #47beda;
              }
              .sub-text {
                color: #fff;
              }
            }
          }
          .team-box {
            margin-top: -60px;
            .box-item {
              display: inline-block;
              margin: 0 40px 40px 40px;
              width: 300px;
              box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.35);
              .item-top {
                >img {
                  width: 100%;
                  height: 260px;
                }
              }
              .item-bottom {
                height: 140px;
                padding-left: 20px;
                text-align: left;
                background-color: #000;
                color: #fff;
                .name {
                  font-size: 24px;
                  padding-top: 20px;
                  padding-bottom: 25px;
                }
                .desc {
                  line-height: 26px;
                }
              }
            }
          }
        }
      }
    }
    .testing {
      padding: 0 18px;
      margin-bottom: 100px;
      .testing-box {
        width: 100%;
        height: 500px;
        padding-top: 40px;
        background-color: #f3f3f3;
        .testing-nav {
          text-align: center;
          >span {
            cursor: pointer;
            display: inline-block;
            padding-bottom: 10px;
            font-size: 18px;
            margin: 0 28px;
            &.active {
              color: #47beda;
              border-bottom: 1px solid #47beda;
            }
          }
          .goods-list {
            display: table;
            width: 100%;
            margin-top: 50px;
            margin-bottom: 40px;
            .goods-item {
              display: table-cell;
              .item-top {
                >img {
                  height: 120px;
                }
              }
              .item-middle  {
                margin-top: 20px;
                margin-bottom: 30px;
                font-size: 18px;
                font-weight: bold;
                color: #333;
              }
              .item-bottom {
                width: 200px;
                margin: 0 auto;
                font-size: 14px;
                line-height: 22px;
                text-align: left;
                color: #666;
              }
            }
          }
          .next-page {
            cursor: pointer;
            outline: none;
            border: none;
            width: 140px;
            line-height: 40px;
            font-size: 18px;
            color: #666;
            border: solid 1px #c3c3c3;
            background-color: #f3f3f3;
            &:hover {
              background-color: #DDD;
            }
          }
        }
      }
    }
    .datum {
      .datum-list {
        .datum-item {
          text-align: left;
          .datum-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 25px;
          }
          >p {
            font-size: 14px;
            line-height: 28px;
            color: #666;
          }
        }
      }
    }
  }
</style>